<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <ul>
      <li v-for="(item,index) of list" :key = "index">{{ item.area }}</li>
    </ul>
  </div>
</body>
<script src="lib/jquery.min.js"></script>
<script src="lib/vue.js"></script>
<script>
  new Vue({
    el: '#app',
    data: {
      list: []
    },
    async mounted () {
      // async await
      // async 加载函数上，表示函数内部有异步操作
      // await 记载异步操作前,把异步操作写为同步
      const res = await $.get("https://api.i-lynn.cn/college", 'json')
      console.log(res)
      this.list = res.data.list
    }
  })
</script>
</html>